<%@ page contentType="text/html; charset=Windows-31J" language="java" %>
<%@ include file="../inc/common.jsp" %>

<html:html locale="true">
<HEAD>
	<html:base/>
	<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
	<TITLE><%=Globals.get("WEB_PAGETITLE")%></TITLE>
</HEAD>
<BODY BGCOLOR=<%=Globals.get("WEB_BODY_BGCOLOR")%> LINK=<%=Globals.get("WEB_BODY_LINK")%> VLINK=<%=Globals.get("WEB_BODY_VLINK")%>>
<CENTER>
<BR><H4>作業項目追加画面</H4><HR><BR>
</CENTER>
<B>●ﾌﾟﾛｼﾞｪｸﾄを選択した後、作業項目を入力してください。</B>
<br><br>
<html:form action="/weeklyReport_add_workItem">
<html:hidden property="projectId" />
<TABLE border="1">
<TR>
	<TH>削除ﾁｪｯｸ</TH>
	<TH>作業項目</TH>
	<TH>表示</TH>
</TR>
<logic:iterate id="addWorkItemList" name="addWorkItemList" indexId="index" scope="session" >
<TR>
	<TD align="center">
		<html:checkbox name="addWorkItemList" property="displayNm" indexed="true"/>
	</TD>
	<TD>
		<bean:write name="addWorkItemList" property="name" />
	</TD>
	<TD>
		<html:submit property="workItemUp" value="↑" indexed="true" />
		<html:submit property="workItemDown" value="↓" indexed="true" />
	</TD>
</TR>
</logic:iterate>
</TABLE><BR>

<TABLE border="0">
<TR>
	<TD colspan="2">
		<html:text property="name" size="15" />
	</TD>
</TR>
<TR><TD colspan="2" align="center"><html:errors property="workItemName" />　</TD></TR>
<TR>
	<TD colspan="2">
		<html:submit property="add" value="追加" />
		<html:submit property="rm" value="削除" />
	</TD>
</TR>
</TABLE><BR>
</html:form>

<html:form action="/weeklyReport_add_completion.do?returnAdd=returnAdd&workItemAdd=workItemAdd" target="sub">
<TABLE border="0">
<TR>
<TD>
<html:submit value="登録" onclick="window.close()" />
</TD>
</TR>
</TABLE>
</html:form>

</BODY>
</html:html>
